<html>
<head>
 
<!-- You can load the jQuery library from the Google Content Network.
Probably better than from your own server. -->
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
 
<!-- Load the CloudCarousel JavaScript file -->
<script type="text/JavaScript" src="cloud-carousel.1.0.5.min.js"></script>
 
<script>
$(document).ready(function(){
						   
	// This initialises carousels on the container elements specified, in this case, carousel1.
	$("#carousel1").CloudCarousel(		
		{			
			xPos: 480,// Chiều rộng div/2
			yPos: 175,// Chiều cao div/4
			buttonLeft: $("#left-but"),
			buttonRight: $("#right-but"),
			altBox: $("#alt-text"),
			titleBox: $("#title-text"),
         autoRotate: 'left', //Auto xoay trái
         bringToFront: true, //Đưa ảnh đc click ra trước
         yRadius: 100, //Chiều cao của vòng tròn
         autoRotateDelay: 3000, //T/g delay auto xoay
         //reflHeight: 40, // Chiều cao của đổ bóng
         //reflOpacity: 0.5, //Độ mờ của đổ bóng
         //reflGap: 5 // Khoảng cách giữa ảnh vs đổ bóng
		}
	);
});
 
</script>
 
</head>
    <body>
      <div id="warpper" style="width: 960px; margin: 0 auto;">
       	 <!-- This is the container for the carousel. -->
           <div id = "carousel1" style="width:100%; height:700px;overflow:scroll;position: relative;background: url('images/bg_sky.png') no-repeat #FFF;">            
               <!-- All images with class of "cloudcarousel" will be turned into carousel items -->
               <!-- You can place links around these images -->
               <img class = "cloudcarousel" src="images/1_3_31_1.jpg" alt="Flag 1 Description" title="Flag 1 Title" />
               <img class = "cloudcarousel" src="images/1-product-page-lumia-max-lower-product-spec-273x500-png.png" alt="Flag 2 Description" title="Flag 2 Title" />
               <img class = "cloudcarousel" src="images/iphone-5-16gb-aplle-preto-zerado-na-caixa-lacrado-nacional_mlb-f-4417725549_062013_1_1_1.jpg" alt="Flag 3 Description" title="Flag 3 Title" />
               <img class = "cloudcarousel" src="images/iphone-5-16gb-white-anh-20.jpg" alt="Flag 4 Description" title="Flag 4 Title" />
               <img class = "cloudcarousel" src="images/1_3_31_1.jpg" alt="Flag 1 Description" title="Flag 1 Title" />
               <img class = "cloudcarousel" src="images/1-product-page-lumia-max-lower-product-spec-273x500-png.png" alt="Flag 2 Description" title="Flag 2 Title" />
               <img class = "cloudcarousel" src="images/iphone-5-16gb-aplle-preto-zerado-na-caixa-lacrado-nacional_mlb-f-4417725549_062013_1_1_1.jpg" alt="Flag 3 Description" title="Flag 3 Title" />
               <img class = "cloudcarousel" src="images/iphone-5-16gb-white-anh-20.jpg" alt="Flag 4 Description" title="Flag 4 Title" />
               <img class = "cloudcarousel" src="images/1_3_31_1.jpg" alt="Flag 1 Description" title="Flag 1 Title" />
               <img class = "cloudcarousel" src="images/1-product-page-lumia-max-lower-product-spec-273x500-png.png" alt="Flag 2 Description" title="Flag 2 Title" />
               <img class = "cloudcarousel" src="images/iphone-5-16gb-aplle-preto-zerado-na-caixa-lacrado-nacional_mlb-f-4417725549_062013_1_1_1.jpg" alt="Flag 3 Description" title="Flag 3 Title" />
               <img class = "cloudcarousel" src="images/iphone-5-16gb-white-anh-20.jpg" alt="Flag 4 Description" title="Flag 4 Title" />
           </div>
           
           <!-- Define left and right buttons. -->
           <input id="left-but"  type="button" value="Left" />
           <input id="right-but" type="button" value="Right" />
           <img src="images/building.png" style="position: absolute;top: 0;left: 200px;z-index: 70;"/>
           <!-- Define elements to accept the alt and title text from the images. -->
           <p id="title-text"></p>
           <p id="alt-text"></p>
        </div><!-- END #wapper -->
    </body>
</html>